package cn.edu.xmu.wnw.pojo;
// default package



/**
 * ArticleAttachment entity. @author MyEclipse Persistence Tools
 */

public class ArticleAttachment  implements java.io.Serializable {


    // Fields    

     private Integer id;
     private Article article;
     private String name;
     private String path;


    // Constructors

    /** default constructor */
    public ArticleAttachment() {
    }

    
    /** full constructor */
    public ArticleAttachment(Article article, String name, String path) {
        this.article = article;
        this.name = name;
        this.path = path;
    }

   
    // Property accessors

    public Integer getId() {
        return this.id;
    }
    
    public void setId(Integer id) {
        this.id = id;
    }

    public Article getArticle() {
        return this.article;
    }
    
    public void setArticle(Article article) {
        this.article = article;
    }

    public String getName() {
        return this.name;
    }
    
    public void setName(String name) {
        this.name = name;
    }

    public String getPath() {
        return this.path;
    }
    
    public void setPath(String path) {
        this.path = path;
    }
   








}